package com.thb.pay.core.chainofresponsibility;

public abstract class AbstractCommand implements Command {

    private Command nextCommand;

    @Override
    public Command getNext() {
        return this.nextCommand;
    }

    @Override
    public void setNext(Command command) {
        this.nextCommand = command;
    }
}